package maa.dao;

import maa.dao.DAOException;
import maa.entity.Course;

import java.util.List;
import java.util.UUID;

public interface CourseDAO {
    public boolean create(Course course) throws DAOException;
    public boolean setMentor(UUID course_uuid, UUID mentor_uuid) throws DAOException;
    public boolean update(Course course) throws DAOException;
    public boolean delete(UUID uuid) throws DAOException;
    public List<Course> findAll() throws DAOException;
    public List<Course> findCoursesById(List<UUID> uuids) throws DAOException;
    public Course findById(UUID uuid) throws DAOException;
}
